using System;
using System.Collections.Generic;
using System.Text;
namespace FrameWorkSystem.BusinessLayer
{
	public class Sys_UserPermission: BusinessObjectBase
	{

		#region InnerClass
		public enum Sys_UserPermissionFields
		{
			UserName,
			FuncName,
			IsEnable,
			IsVisible,
			TypeOfFunc
		}
		#endregion

		#region Data Members

			string _userName;
			string _funcName;
			bool _isEnable;
			bool _isVisible;
			string _typeOfFunc;

		#endregion

		#region Properties

		public string  UserName
		{
			 get { return _userName; }
			 set
			 {
				 if (_userName != value)
				 {
					_userName = value;
					 //PropertyHasChanged("UserName");
				 }
			 }
		}

		public string  FuncName
		{
			 get { return _funcName; }
			 set
			 {
				 if (_funcName != value)
				 {
					_funcName = value;
					 //PropertyHasChanged("FuncName");
				 }
			 }
		}

		public bool  IsEnable
		{
			 get { return _isEnable; }
			 set
			 {
				 if (_isEnable != value)
				 {
					_isEnable = value;
					 //PropertyHasChanged("IsEnable");
				 }
			 }
		}

		public bool  IsVisible
		{
			 get { return _isVisible; }
			 set
			 {
				 if (_isVisible != value)
				 {
					_isVisible = value;
					 //PropertyHasChanged("IsVisible");
				 }
			 }
		}

		public string  TypeOfFunc
		{
			 get { return _typeOfFunc; }
			 set
			 {
				 if (_typeOfFunc != value)
				 {
					_typeOfFunc = value;
					 //PropertyHasChanged("TypeOfFunc");
				 }
			 }
		}


		#endregion

	}
}
